package com.qeegoo.b2bautozityp.api.entity;

/**
 * Created by 王少岩 on 2017/2/5.
 */

public class HttpResult<T> {
    private Status status;
    private T data;

    public static class Status {
        private String code;
        private String msg;

        public String getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }

        public boolean isSuccess() {
            return code.equals("0000");
        }
    }

    public Status getStatus() {
        return status;
    }

    public T getData() {
        return data;
    }

}
